//
//  CFontPickerViewController.h
//  FontPicker
//
//  Created by 为为 on 13-6-9.
//  Copyright (c) 2013年 为为. All rights reserved.
//

#import <UIKit/UIKit.h>

@class CFontPickerViewController;

typedef void(^CFontPickerViewControllerSelectBlock)(CFontPickerViewController* controller,int index);

@interface CFontPickerViewController : UIViewController<UIPickerViewDataSource, UIPickerViewDelegate>
{
	__weak IBOutlet UIPickerView *pickerView;
}
@property(nonatomic, readonly) int selectedRow;
@property(nonatomic, strong) NSArray* fontArray;
@property(nonatomic, copy) CFontPickerViewControllerSelectBlock rowSelectedBlock;

- (void)loadDefaulFontArray;
- (void)selectRow:(int)index animated:(BOOL)animated;

@end
